package generator.website;

import java.util.Iterator;
import org.eclipse.emf.common.util.EList;
import CarProject.*;
import CarProject.impl.*;;

public class CreationVueDefault
{
  protected static String nl;
  public static synchronized CreationVueDefault create(String lineSeparator)
  {
    nl = lineSeparator;
    CreationVueDefault result = new CreationVueDefault();
    nl = null;
    return result;
  }

  public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
  protected final String TEXT_1 = "<head>" + NL + "\t<title>";
  protected final String TEXT_2 = "</title>" + NL + "<html>" + NL + "\t<h1></h1>" + NL + "\t<body></body>" + NL + "</html>";

  public String generate(Object argument)
  {
    final StringBuffer stringBuffer = new StringBuffer();
     VueGenerale vue = (VueGenerale) argument; 
    stringBuffer.append(TEXT_1);
    stringBuffer.append(vue.getNomVue());
    stringBuffer.append(TEXT_2);
    return stringBuffer.toString();
  }
}
